home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / term / term41source.lha / Extras / Source / gtlayout-Source.lha / gtlayout.h < prev    next >
C/C++ Source or Header  |  1994-09-07  |  17KB  |  490 lines

  1. #ifndef _GTLAYOUT_H
  2. #define _GTLAYOUT_H
  3.  
  4. /*
  5. **    GadTools layout toolkit
  6. **
  7. **    Copyright © 1993-1994 by Olaf `Olsen' Barthel
  8. **    Freely distributable.
  9. */
  10.  
  11. /*****************************************************************************/
  12.  
  13. #ifdef LIB_CODE
  14. #define REG(x)    register __ ## x
  15. #define LIBENT    __asm __saveds
  16. #endif    /* LIB_CODE */
  17.  
  18. #ifdef SHARED_LIB
  19. #define REG(x)
  20. #define LIBENT
  21. #endif    /* SHARED_LIB */
  22.  
  23. #ifdef LINK_LIB
  24. #define REG(x)
  25. #define LIBENT    __regargs
  26. #endif    /* LINK_LIB */
  27.  
  28. /*****************************************************************************/
  29.  
  30.  
  31. #ifndef EXEC_TYPES_H
  32. #include <exec/types.h>
  33. #endif
  34.  
  35. #ifndef INTUITION_INTUITION_H
  36. #include <intuition/intuition.h>
  37. #endif
  38.  
  39. #ifndef UTILITY_TAGITEM_H
  40. #include <utility/tagitem.h>
  41. #endif
  42.  
  43. #ifndef INTUITION_GADGETCLASS_H
  44. #include <intuition/gadgetclass.h>
  45. #endif
  46.  
  47. /*****************************************************************************/
  48.  
  49.  
  50. typedef char enum PlacementTypes
  51. {
  52.     PLACE_LEFT,
  53.     PLACE_RIGHT,
  54.     PLACE_ABOVE,
  55.     PLACE_IN,
  56.     PLACE_BELOW
  57. } PlacementTypes;
  58.  
  59. typedef char enum AlignmentTypes
  60. {
  61.     ALIGNTEXT_LEFT,
  62.     ALIGNTEXT_CENTERED,
  63.     ALIGNTEXT_RIGHT,
  64.     ALIGNTEXT_PAD
  65. } AlignmentTypes;
  66.  
  67. typedef char enum TapeDeckButtonTypes
  68. {
  69.     TDBT_BACKWARD,
  70.     TDBT_FORWARD,
  71.     TDBT_PREVIOUS,
  72.     TDBT_NEXT,
  73.     TDBT_STOP,
  74.     TDBT_PAUSE,
  75.     TDBT_RECORD,
  76.     TDBT_REWIND,
  77.     TDBT_EJECT,
  78.     TDBT_PLAY,
  79.  
  80.     TDBTLAST
  81. } TapeDeckButtonTypes;
  82.  
  83. typedef LONG __stdargs (* DISPFUNC)(struct Gadget *gad,WORD value);
  84.  
  85. #define ALIGNF_RIGHT        (1 << 0)
  86. #define ALIGNF_LEFT        (1 << 1)
  87. #define ALIGNF_TOP        (1 << 2)
  88. #define ALIGNF_BOTTOM        (1 << 3)
  89. #define ALIGNF_EXTRA_RIGHT    (1 << 4)
  90. #define ALIGNF_EXTRA_LEFT    (1 << 5)
  91. #define ALIGNF_EXTRA_TOP    (1 << 6)
  92. #define ALIGNF_EXTRA_BOTTOM    (1 << 7)
  93.  
  94.  
  95. /*****************************************************************************/
  96.  
  97.  
  98. /* Generic tags, applicable for several object types */
  99. #define LA_Chars        TAG_USER+2
  100. #define LA_LabelPlace        TAG_USER+3
  101. #define LA_ExtraSpace        TAG_USER+4
  102. #define LA_Center        TAG_USER+60
  103. #define LA_NoKey        TAG_USER+30
  104. #define LA_HighLabel        TAG_USER+31
  105. #define LA_LabelText        TAG_USER+37
  106. #define LA_LabelID        TAG_USER+38
  107. #define LA_ID            TAG_USER+39
  108. #define LA_Type            TAG_USER+40
  109. #define LA_PageSelector        TAG_USER+79
  110.  
  111. /* Storage type tags */
  112. #define STORE_BYTE        TAG_USER+63
  113. #define LA_BYTE            TAG_USER+63
  114. #define STORE_UBYTE        TAG_USER+64
  115. #define LA_UBYTE        TAG_USER+64
  116. #define STORE_WORD        TAG_USER+65
  117. #define LA_WORD            TAG_USER+65
  118. #define STORE_BOOL        TAG_USER+65
  119. #define LA_BOOL            TAG_USER+65
  120. #define STORE_UWORD        TAG_USER+66
  121. #define LA_UWORD        TAG_USER+66
  122. #define STORE_LONG        TAG_USER+67
  123. #define LA_LONG            TAG_USER+67
  124. #define STORE_ULONG        TAG_USER+68
  125. #define LA_ULONG        TAG_USER+68
  126. #define STORE_STRPTR        TAG_USER+69
  127. #define LA_STRPTR        TAG_USER+69
  128. #define STORE_FRACTION        TAG_USER+68
  129. #define LA_FRACTION        TAG_USER+68
  130.  
  131. /* for use with LT_GetAttributes() only */
  132. #define LA_Left            TAG_USER+16
  133. #define LA_Top            TAG_USER+17
  134. #define LA_Width        TAG_USER+18
  135. #define LA_Height        TAG_USER+19
  136.  
  137. /* TEXT_KIND */
  138. #define LATX_Picker        TAG_USER+5
  139.  
  140. /* VERTICAL_KIND, HORIZONTAL_KIND */
  141. #define LAGR_Spread        TAG_USER+6
  142. #define LAGR_SameSize        TAG_USER+8
  143. #define LAGR_LastAttributes    TAG_USER+46
  144. #define LAGR_ActivePage        TAG_USER+58
  145.  
  146. /* FRAME_KIND */
  147. #define LAFR_InnerWidth        TAG_USER+9
  148. #define LAFR_InnerHeight    TAG_USER+10
  149. #define LAFR_DrawBox        TAG_USER+11
  150.  
  151. /* BOX_KIND */
  152. #define LABX_Labels        TAG_USER+12
  153. #define LABX_Lines        TAG_USER+13
  154. #define LABX_Rows        TAG_USER+1
  155. #define LABX_Index        TAG_USER+14
  156. #define LABX_Text        TAG_USER+15
  157. #define LABX_AlignText        TAG_USER+27
  158. #define LABX_DrawBox        TAG_USER+11
  159. #define LABX_FirstLabel        TAG_USER+44
  160. #define LABX_LastLabel        TAG_USER+45
  161. #define LABX_ReserveSpace    TAG_USER+72
  162.  
  163. /* FRACTION_KIND */
  164. #define LAFC_MaxChars        TAG_USER+20
  165. #define LAFC_Number        TAG_USER+21
  166. #define LAFC_LastGadget        TAG_USER+28
  167. #define LAFC_Min        TAG_USER+23
  168. #define LAFC_Max        TAG_USER+24
  169. #define LAFC_HistoryLines    TAG_USER+59
  170. #define LAFC_HistoryHook    TAG_USER+80
  171.  
  172. /* SLIDER_KIND */
  173. #define LASL_FullCheck        TAG_USER+22
  174.  
  175. /* LISTVIEW_KIND */
  176. #define LALV_ExtraLabels    TAG_USER+26
  177. #define LALV_Labels        TAG_USER+33
  178. #define LALV_CursorKey        TAG_USER+35
  179. #define LALV_Lines        TAG_USER+1
  180. #define LALV_Link        TAG_USER+7
  181. #define LALV_FirstLabel        TAG_USER+44
  182. #define LALV_LastLabel        TAG_USER+45
  183. #define LALV_MaxGrowX        TAG_USER+77
  184. #define LALV_MaxGrowY        TAG_USER+78
  185.  
  186. /* INTEGER_KIND */
  187. #define LAIN_LastGadget        TAG_USER+28
  188. #define LAIN_Min        TAG_USER+23
  189. #define LAIN_Max        TAG_USER+24
  190. #define LAIN_UseIncrementers    TAG_USER+57
  191. #define LAIN_HistoryLines    TAG_USER+59
  192. #define LAIN_HistoryHook    TAG_USER+80
  193. #define LAIN_IncrementerHook    TAG_USER+85
  194.  
  195. /* STRING_KIND */
  196. #define LAST_LastGadget        TAG_USER+28
  197. #define LAST_Link        TAG_USER+7
  198. #define LAST_Picker        TAG_USER+5
  199. #define LAST_HistoryLines    TAG_USER+59
  200. #define LAST_HistoryHook    TAG_USER+80
  201.  
  202. /* PASSWORD_KIND */
  203. #define LAPW_LastGadget        TAG_USER+28
  204. #define LAPW_HistoryLines    TAG_USER+59
  205. #define LAPW_HistoryHook    TAG_USER+80
  206.  
  207. /* PALETTE_KIND */
  208. #define LAPA_SmallPalette    TAG_USER+32
  209. #define LAPA_Lines        LA_Lines
  210.  
  211. /* BUTTON_KIND */
  212. #define LABT_ReturnKey        TAG_USER+34
  213. #define LABT_EscKey        TAG_USER+56
  214. #define LABT_ExtraFat        TAG_USER+29
  215.  
  216. /* GAUGE_KIND */
  217. #define LAGA_Percent        TAG_USER+36
  218. #define LAGA_InfoLength        TAG_USER+70
  219. #define LAGA_InfoText        TAG_USER+71
  220.  
  221. /* CYCLE_KIND */
  222. #define LACY_FirstLabel        TAG_USER+44
  223. #define LACY_LastLabel        TAG_USER+45
  224.  
  225. /* MX_KIND */
  226. #define LAMX_FirstLabel        TAG_USER+44
  227. #define LAMX_LastLabel        TAG_USER+45
  228.  
  229. /* SCROLLER_KIND */
  230. #define LASC_Thin        TAG_USER+62
  231.  
  232. /* XBAR_KIND */
  233. #define LAXB_FullSize        TAG_USER+50
  234.  
  235. /* TAPEDECK_KIND */
  236. #define LATD_ButtonType        TAG_USER+86
  237. #define LATD_Toggle        TAG_USER+87
  238. #define LATD_Pressed        TAG_USER+88
  239. #define LATD_Smaller        TAG_USER+89
  240.  
  241. /* Applicable for window only */
  242. #define LAWN_Menu        TAG_USER+25
  243. #define LAWN_UserPort        TAG_USER+47
  244. #define LAWN_Left        TAG_USER+48
  245. #define LAWN_Top        TAG_USER+49
  246. #define LAWN_Zoom        TAG_USER+50
  247. #define LAWN_MaxPen        TAG_USER+52
  248. #define LAWN_BelowMouse        TAG_USER+53
  249. #define LAWN_MoveToWindow    TAG_USER+54
  250. #define LAWN_AutoRefresh    TAG_USER+55
  251. #define LAWN_HelpHook        TAG_USER+73
  252. #define LAWN_Parent        TAG_USER+81
  253. #define LAWN_BlockParent    TAG_USER+82
  254.  
  255. /* Applicable for layout handle only */
  256. #define LH_Font            TAG_USER+41
  257. #define LH_AutoActivate        TAG_USER+42
  258. #define LH_LocaleHook        TAG_USER+4
  259. #define LH_CloningPermitted    TAG_USER+61
  260. #define LH_EditHook        TAG_USER+74
  261. #define LH_ExactClone        TAG_USER+75
  262. #define LH_MenuGlyphs        TAG_USER+76
  263. #define LH_Parent        TAG_USER+83
  264. #define LH_BlockParent        TAG_USER+84
  265.  
  266. /* Last tag item value used */
  267. #define LAST_TAG        TAG_USER+89
  268.  
  269. /*****************************************************************************/
  270.  
  271.  
  272. /* Identifies the absence of a link for a listview or a string gadget */
  273. #define NIL_LINK        -2
  274.  
  275.  
  276. /*****************************************************************************/
  277.  
  278.  
  279.     /* String gadget type history hook support: you will either get
  280.      * the following value passed as the message parameter to your
  281.      * hook function, or a pointer to a null-terminated string you should
  282.      * copy and create a Node from, which you should then add to the tail
  283.      * of your history list. Place a pointer to your history list in the
  284.      * Hook.h_Data entry.
  285.      */
  286.  
  287. #define HISTORYHOOK_DISCARD_OLDEST    0    // Discard oldest entry
  288.  
  289.  
  290. /*****************************************************************************/
  291.  
  292.     /* Incrementer hook support: you will get the current value
  293.      * passed as the object and one of the following values as
  294.      * the message. Return the number to be used.
  295.      */
  296.  
  297. typedef int enum IncrementerMsgTypes
  298. {
  299.     INCREMENTERMSG_DECREMENT = -1,    // Decrement value
  300.     INCREMENTERMSG_INITIAL = 0,    // Initial value passed upon gadget creation
  301.     INCREMENTERMSG_INCREMENT = 1    // Increment value
  302. } IncrementerMsgTypes;
  303.     
  304. /*****************************************************************************/
  305.  
  306.     /* Help key hook support: the hook will be called with a "struct IBox *"
  307.      * as the object and a "struct HelpMsg *". The IBox describes the object
  308.      * the mouse was positioned over, such as a button, a listview, etc.
  309.      * The "ObjectID" will indicate the ID of the object the mouse was
  310.      * positioned over. The ID will be -1 if no object was to be found.
  311.      */
  312.  
  313. typedef struct HelpMsg
  314. {
  315.     struct LayoutHandle    *Handle;    // Window layout handle
  316.     LONG             ObjectID;    // ID of the object, -1 for full window
  317. } HelpMsg;
  318.  
  319. /*****************************************************************************/
  320.  
  321. /* Obsolete tags, don't use in new code */
  322. #define LA_Lines        LABX_Rows
  323. #define LA_Spread        LAGR_Spread
  324. #define LA_SameSize        LAGR_SameSize
  325. #define LA_FullCheck        LASL_FullCheck
  326. #define LA_ExtraLabels        LALV_ExtraLabels
  327. #define LA_LastGadget        LAFC_LastGadget
  328. #define LA_SmallPalette        LAPA_SmallPalette
  329. #define LA_Labels        LALV_Labels
  330. #define LA_Picker        LATX_Picker
  331. #define LA_DrawBox        LAFR_DrawBox
  332. #define LA_FirstLabel        LABX_FirstLabel
  333. #define LA_LastLabel        LABX_LastLabel
  334. #define LA_Min            LAFC_Min
  335. #define LA_Max            LAFC_Max
  336. #define LA_Link            LALV_Link
  337. #define LA_Menu            LAWN_Menu
  338. #define LA_HistoryLines        LAST_HistoryLines
  339. #define LA_HistoryHook        LAST_HistoryHook
  340. #define LA_ReturnKey        LABT_ReturnKey
  341. #define LA_ExtraFat        LABT_ExtraFat
  342. #define LA_CursorKey        LALV_CursorKey
  343.  
  344. /*****************************************************************************/
  345.  
  346.  
  347. /* kinds of objects support in addition to the normal GadTools kinds */
  348. #define HORIZONTAL_KIND        45
  349. #define VERTICAL_KIND        46
  350. #define END_KIND        47
  351. #define FRAME_KIND        48
  352. #define BOX_KIND        49
  353. #define FRACTION_KIND        50
  354. #define XBAR_KIND        51
  355. #define YBAR_KIND        52
  356. #define PASSWORD_KIND        53
  357. #define GAUGE_KIND        54
  358. #define TAPEDECK_KIND        55
  359.  
  360.  
  361. /*****************************************************************************/
  362.  
  363.  
  364. /* in support of FRACTION_KIND gadgets */
  365.  
  366. typedef ULONG            FIXED;
  367. #define FIXED_UNITY        10000
  368.  
  369. #define TO_FIXED(l,r)        (FIXED_UNITY * (l) + (r))
  370. #define FIXED_LEFT(f)        ((f) / FIXED_UNITY)
  371. #define FIXED_RIGHT(f)        ((f) % FIXED_UNITY)
  372.  
  373.  
  374. /*****************************************************************************/
  375.  
  376.  
  377. #ifndef _GTLAYOUT_C
  378. typedef struct LayoutHandle
  379. {
  380.     struct Screen        *Screen;
  381.     struct DrawInfo        *DrawInfo;
  382.     struct Window        *Window;
  383.     APTR             VisualInfo;
  384.     struct Image        *AmigaGlyph,
  385.                 *CheckGlyph;
  386.  
  387.     /* private fields follow.... */
  388. } LayoutHandle;
  389. #endif
  390.  
  391.  
  392.  
  393. /*****************************************************************************/
  394.  
  395.  
  396. VOID LIBENT            LT_LevelWidth(REG(a0) struct LayoutHandle *handle,REG(a1) STRPTR levelFormat,REG(a2) DISPFUNC dispFunc,REG(d0) LONG min,REG(d1) LONG max,REG(a3) LONG *maxWidth,REG(a5) LONG *maxLen,REG(d2) BOOL fullCheck);
  397. VOID LIBENT            LT_DeleteHandle(REG(a0) struct LayoutHandle *Handle);
  398. struct LayoutHandle * LIBENT    LT_CreateHandle(REG(a0) struct Screen *Screen,REG(a1) struct TextAttr *Font);
  399. struct LayoutHandle * LIBENT    LT_CreateHandleTagList(REG(a0) struct Screen *Screen,REG(a1) struct TagItem *TagList);
  400. BOOL LIBENT            LT_Rebuild(REG(a0) struct LayoutHandle *handle,REG(a1) struct IBox *bounds,REG(a2) LONG extraWidth,REG(d0) LONG extraHeight,REG(d1) BOOL clear);
  401. VOID LIBENT            LT_HandleInput(REG(a0) struct LayoutHandle *Handle,REG(d0) ULONG MsgQualifier,REG(a1) ULONG *MsgClass,REG(a2) UWORD *MsgCode,REG(a3) struct Gadget **MsgGadget);
  402. VOID LIBENT            LT_BeginRefresh(REG(a0) struct LayoutHandle *handle);
  403. VOID LIBENT            LT_EndRefresh(REG(a0) struct LayoutHandle *handle,REG(d0) BOOL complete);
  404. LONG LIBENT            LT_GetAttributesA(REG(a0) struct LayoutHandle *Handle,REG(d0) LONG ID,REG(a1) struct TagItem *TagList);
  405. VOID LIBENT            LT_SetAttributesA(REG(a0) struct LayoutHandle *handle,REG(d0) LONG id,REG(a1) struct TagItem *TagList);
  406. VOID LIBENT            LT_AddA(REG(a0) struct LayoutHandle *Handle,REG(d0) UBYTE Type,REG(d1) STRPTR Label,REG(d2) LONG ID,REG(a1) struct TagItem *TagList);
  407. VOID LIBENT            LT_NewA(REG(a0) struct LayoutHandle *handle,REG(a1) struct TagItem *tagList);
  408. VOID LIBENT            LT_EndGroup(REG(a0) struct LayoutHandle *handle);
  409. struct Window * LIBENT        LT_LayoutA(REG(a0) struct LayoutHandle *handle, REG(a1) STRPTR title,REG(a2) struct IBox *bounds,REG(d0) LONG extraWidth, REG(d1) LONG extraHeight,REG(d2) ULONG IDCMP, REG(d3) UBYTE align, REG(a3) struct TagItem *TagParams);
  410. struct Menu * LIBENT        LT_LayoutMenusA(REG(a0) struct LayoutHandle *handle,REG(a1) struct NewMenu *menuTemplate,REG(a2) struct TagItem *TagParams);
  411. VOID LIBENT            LT_Fixed2String(REG(d0) FIXED fixed,REG(d1) STRPTR buffer);
  412. FIXED LIBENT            LT_String2Fixed(REG(a0) STRPTR buffer);
  413. ULONG LIBENT            LT_FixedMult(REG(d0) FIXED fixed,REG(d1) ULONG factor);
  414. LONG LIBENT            LT_LabelWidth(REG(a0) struct LayoutHandle *handle,REG(a1) STRPTR label);
  415. LONG LIBENT            LT_LabelChars(REG(a0) struct LayoutHandle *handle,REG(a1) STRPTR label);
  416. VOID LIBENT            LT_LockWindow(REG(a0) struct Window *window);
  417. VOID LIBENT            LT_UnlockWindow(REG(a0) struct Window *window);
  418. VOID LIBENT            LT_DeleteWindowLock(REG(a0) struct Window *window);
  419. VOID LIBENT            LT_ShowWindow(REG(a0) struct LayoutHandle *handle,REG(a1) BOOL activate);
  420. VOID LIBENT            LT_Activate(REG(a0) struct LayoutHandle *handle,REG(d0) LONG id);
  421. VOID LIBENT            LT_PressButton(REG(a0) struct LayoutHandle *handle,REG(d0) LONG id);
  422. WORD LIBENT            LT_GetCode(REG(d0) ULONG MsgQualifier,REG(d1) ULONG MsgClass,REG(d2) UWORD MsgCode,REG(a0) struct Gadget *MsgGadget);
  423. struct IntuiMessage * LIBENT    LT_GetIMsg(REG(a0) struct LayoutHandle *Handle);
  424. VOID LIBENT            LT_ReplyIMsg(REG(a0) struct IntuiMessage *Msg);
  425.  
  426. BOOL                LT_Init(VOID);
  427. VOID                LT_Exit(VOID);
  428.  
  429. struct LayoutHandle * __stdargs    LT_CreateHandleTags(struct Screen *Screen,...);
  430. LONG __stdargs            LT_GetAttributes(struct LayoutHandle *Handle,LONG ID,...);
  431. VOID __stdargs            LT_SetAttributes(struct LayoutHandle *handle,LONG id,...);
  432. VOID __stdargs            LT_AddL(struct LayoutHandle *handle,UBYTE type,ULONG labelID,LONG id,...);
  433. VOID __stdargs            LT_Add(struct LayoutHandle *Handle,UBYTE Type,STRPTR Label,LONG ID,...);
  434. VOID __stdargs            LT_New(struct LayoutHandle *handle,...);
  435. struct Window * __stdargs    LT_Layout(struct LayoutHandle *handle, STRPTR title,struct IBox *bounds,LONG extraWidth, LONG extraHeight,ULONG IDCMP, UBYTE align, ...);
  436. struct Menu * __stdargs        LT_LayoutMenus(struct LayoutHandle *handle,struct NewMenu *menuTemplate,...);
  437.  
  438. /* Obsolete routines, redone as macros */
  439. #define LT_GetDrawInfo(Handle)        (Handle) ? ((Handle) -> DrawInfo)    : NULL
  440. #define LT_GetVisualInfo(Handle)    (Handle) ? ((Handle) -> VisualInfo)    : NULL
  441. #define LT_GetScreen(Handle)        (Handle) ? ((Handle) -> Screen)        : NULL
  442. #define LT_SetAutoActivate(Handle,Mode)    LT_SetAttributes(Handle,0,LH_AutoActivate,Mode,TAG_DONE)
  443.  
  444. #define LT_GetString(Handle,Code)    ((STRPTR)LT_GetAttributes((Handle),(Code),TAG_DONE))
  445.  
  446. #if !defined(LIB_CODE) && !defined(_GTLAYOUT_C) && !defined(NO_PRAGMAS)
  447. /*#pragma libcall GTLayoutBase LT_LevelWidth 1e 2DB10A907*/
  448. #pragma libcall GTLayoutBase LT_DeleteHandle 24 801
  449. #pragma libcall GTLayoutBase LT_CreateHandle 2a 9802
  450. #pragma libcall GTLayoutBase LT_CreateHandleTagList 30 9802
  451. #pragma tagcall GTLayoutBase LT_CreateHandleTags 30 9802
  452. #pragma libcall GTLayoutBase LT_Rebuild 36 10A9805
  453. #pragma libcall GTLayoutBase LT_HandleInput 3c BA90805
  454. #pragma libcall GTLayoutBase LT_BeginRefresh 42 801
  455. #pragma libcall GTLayoutBase LT_EndRefresh 48 0802
  456. #pragma libcall GTLayoutBase LT_GetAttributesA 4e 90803
  457. #pragma tagcall GTLayoutBase LT_GetAttributes 4e 90803
  458. #pragma libcall GTLayoutBase LT_SetAttributesA 54 90803
  459. #pragma tagcall GTLayoutBase LT_SetAttributes 54 90803
  460. #pragma libcall GTLayoutBase LT_AddA 5a 9210805
  461. #pragma tagcall GTLayoutBase LT_Add 5a 9210805
  462. #pragma libcall GTLayoutBase LT_NewA 60 9802
  463. #pragma tagcall GTLayoutBase LT_New 60 9802
  464. #pragma libcall GTLayoutBase LT_EndGroup 66 801
  465. #pragma libcall GTLayoutBase LT_LayoutA 6c B3210A9808
  466. #pragma tagcall GTLayoutBase LT_Layout 6c B3210A9808
  467. #pragma libcall GTLayoutBase LT_LayoutMenusA 72 A9803
  468. #pragma tagcall GTLayoutBase LT_LayoutMenus 72 A9803
  469. #pragma libcall GTLayoutBase LT_Fixed2String 78 1002
  470. #pragma libcall GTLayoutBase LT_String2Fixed 7e 801
  471. #pragma libcall GTLayoutBase LT_FixedMult 84 1002
  472. #pragma libcall GTLayoutBase LT_LabelWidth 8a 9802
  473. #pragma libcall GTLayoutBase LT_LabelChars 90 9802
  474. #pragma libcall GTLayoutBase LT_LockWindow 96 801
  475. #pragma libcall GTLayoutBase LT_UnlockWindow 9c 801
  476. #pragma libcall GTLayoutBase LT_DeleteWindowLock a2 801
  477. #pragma libcall GTLayoutBase LT_ShowWindow a8 9802
  478. #pragma libcall GTLayoutBase LT_Activate ae 0802
  479. #pragma libcall GTLayoutBase LT_PressButton b4 0802
  480. #pragma libcall GTLayoutBase LT_GetCode ba 821004
  481. /*--- Added in v1.78 --------------------------------------------------*/
  482. #pragma libcall GTLayoutBase LT_GetIMsg c0 801
  483. #pragma libcall GTLayoutBase LT_ReplyIMsg c6 801
  484. #endif    /* !LIB_CODE && !_GTLAYOUT_C && !NO_PRAGMAS */
  485.  
  486. /*****************************************************************************/
  487.  
  488.  
  489. #endif    /* _GTLAYOUT_H */
  490.